package com.fhz.room;

import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;
import androidx.room.Update;

import java.util.List;

/**
 * 时间:2023/8/16
 *
 * @author Mr.Feng
 * 简述: TODO
 */
@Dao
public interface StudentDao {

    @Query("SELECT * FROM student")
    List<Student> getAll();

    @Insert
    void insertAll(Student... student);

}   
